#pragma once

#include <vector>

namespace raytrace {
namespace solver {
  // Coefficients are given in order from highest exponent to lowest.
  // I.e., c[0]x^3 + c[1]x^2 + c[2]x + c[3] for a cubic equation.
  void Solve(const std::vector<float>& coeffs,
             std::vector<float>& solutions);
}
}
